com.epiphan.vga2usb
Class GrabParameters

Object
  extended bycom.epiphan.vga2usb.GrabParameters
All Implemented Interfaces:
Cloneable, Serializable

public final class GrabParameters
extends Object
implements Serializable, Cloneable

VGA capture parameters.

Since:
3.22.2
See Also:
Serialized Form

Field Summary
 int flags
          Validity flags.
 int gain_b
          Gain (contrast) for the blue channel.
 int gain_g
          Gain (contrast) for the green channel.
 int gain_r
          Gain (contrast) for the red channel.
static int GRAB_BMP_BOTTOM_UP
          Grab image upside-down
 int grab_flags
          Grab flags.
 int grab_flags_mask
          Which bits from grab_flags are used
static int GRAB_PREFER_WIDE_MODE
          Wide mode flag.
 int hshift
          Horizontal shift.
 int offset_b
          Offset (brightness) for the blue channel.
 int offset_g
          Offset (brightness) for the green channel.
 int offset_r
          Offset (brightness) for the red channel.
 int phase
          Pixel sampling phase.
 int pllshift
          PLL adjustment.
static int VALID_GRABFLAGS
          Indicates that grab_flags and grab_flags_mask are used
static int VALID_HSHIFT
          Indicates that hshift field is used
static int VALID_OFFSETGAIN
          Indicates that all gain_{rgb} and offset_{rgb} fields are used
static int VALID_PHASE
          Indicates that phase field is used
static int VALID_PLLSHIFT
          Indicates that pllshift field is used
static int VALID_VSHIFT
          Indicates that vshift field is used
 int vshift
          Vertical shift.
 
Constructor Summary
GrabParameters()
          Creates an empty GrabParameters object.
 
Method Summary
 Object clone()
          Clones this object.
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flags

public int flags
Validity flags.

See Also:
VALID_HSHIFT, VALID_PHASE, VALID_OFFSETGAIN, VALID_VSHIFT, VALID_PLLSHIFT, VALID_GRABFLAGS

gain_b

public int gain_b
Gain (contrast) for the blue channel.


gain_g

public int gain_g
Gain (contrast) for the green channel.


gain_r

public int gain_r
Gain (contrast) for the red channel.


GRAB_BMP_BOTTOM_UP

public static final int GRAB_BMP_BOTTOM_UP
Grab image upside-down

See Also:
Constant Field Values

grab_flags

public int grab_flags
Grab flags.

See Also:
GRAB_BMP_BOTTOM_UP, GRAB_PREFER_WIDE_MODE

grab_flags_mask

public int grab_flags_mask
Which bits from grab_flags are used


GRAB_PREFER_WIDE_MODE

public static final int GRAB_PREFER_WIDE_MODE
Wide mode flag. Sometimes 4:3 and wide modes with the same height are indistinguishable, this flag can force choosing the wide mode.

See Also:
Constant Field Values

hshift

public int hshift
Horizontal shift.


offset_b

public int offset_b
Offset (brightness) for the blue channel.


offset_g

public int offset_g
Offset (brightness) for the green channel.


offset_r

public int offset_r
Offset (brightness) for the red channel.


phase

public int phase
Pixel sampling phase.


pllshift

public int pllshift
PLL adjustment.


VALID_GRABFLAGS

public static final int VALID_GRABFLAGS
Indicates that grab_flags and grab_flags_mask are used

See Also:
Constant Field Values

VALID_HSHIFT

public static final int VALID_HSHIFT
Indicates that hshift field is used

See Also:
Constant Field Values

VALID_OFFSETGAIN

public static final int VALID_OFFSETGAIN
Indicates that all gain_{rgb} and offset_{rgb} fields are used

See Also:
Constant Field Values

VALID_PHASE

public static final int VALID_PHASE
Indicates that phase field is used

See Also:
Constant Field Values

VALID_PLLSHIFT

public static final int VALID_PLLSHIFT
Indicates that pllshift field is used

See Also:
Constant Field Values

VALID_VSHIFT

public static final int VALID_VSHIFT
Indicates that vshift field is used

See Also:
Constant Field Values

vshift

public int vshift
Vertical shift.

Constructor Detail

GrabParameters

public GrabParameters()
Creates an empty GrabParameters object.

Method Detail

clone

public Object clone()
Clones this object.

Returns:
The clone of this object


Copyright © 2008-2012 Epiphan Systems Inc. All rights reserved.